cmake_minimum_required(VERSION 3.8)
project(find_program_proj)

find_program(main_program main /home/xlll/CMakeProjs/FindProgram/program/build)
message(STATUS "main_program = ${main_program}")
if(main_program)
	execute_process(COMMAND ${main_program})
endif()
